package com.esms.service.impl;

 
import com.esms.po.TKpiAssesment;
import com.esms.service.TKpiAssesmentService;
import com.esms.dao.TKpiAssesmentMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author mtx
* @description 针对表【t_kpi_assesment】的数据库操作Service实现
* @createDate 2022-04-07 21:21:11
*/
@Service
public class TKpiAssesmentServiceImpl implements TKpiAssesmentService{
    @Autowired
    TKpiAssesmentMapper tKpiAssesmentMapper;

    @Override
    public List<TKpiAssesment> listTKpiAssesment(String tEaccount, String tEname, Integer tDgsid, Integer tDid) {

        return tKpiAssesmentMapper.listAllByTEaccountAndTEnameAndTDgsidAndTDid(tEaccount, tEname, tDgsid, tDid);
    }

    @Override
    public List<TKpiAssesment> selectListTKpiAssesment() {
        return tKpiAssesmentMapper.selectListTKpiAssesment();
    }
}
